package main

import (
	"fmt"
	"hello/entity"
	"hello/util"
)

func main() {
	user := entity.User{Name: "zhaodeman", Age: 1}
	var i int
	i = entity.Say(1,2)
	fmt.Printf(user.Name)
	fmt.Printf("%d\n",i)
	//go 循环操作
	fmt.Printf("for 循环操作")
	sum := 0
	for i := 1; i<10; i++{
		sum += i
	}
	fmt.Print("sum的值 %d\n",sum)
	//冒泡排序
	arr := []int{1,0,23,32,6,122}
	util.Sort(arr)
	fmt.Print(arr)
}
